home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 13169 < prev    next >
Encoding:
Text File  |  1996-08-05  |  696 b   |  30 lines

  1. Path: noc.tor.hookup.net!news
  2. From: Richard Steadman <rsteadma@micromedia.on.ca>
  3. Newsgroups: comp.lang.c
  4. Subject: extern func() declaration?
  5. Date: Thu, 04 Apr 1996 15:53:25 -0500
  6. Organization: Micromedia
  7. Message-ID: <316436C5.413E@micromedia.on.ca>
  8. NNTP-Posting-Host: keeper.mmltd.com
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 2.0 (Win95; I)
  13.  
  14. Hello. This is just a minor point, but I couldn't find the
  15. answer in the FAQ:
  16.  
  17. What's the difference between
  18.  
  19.     extern int func(void);
  20.  
  21. and
  22.  
  23.     int func(void);
  24.  
  25. when declaring functions located in another source file? They
  26. both seem to work alright.
  27.  
  28. Richard Steadman
  29. rsteadma@mmltd.com
  30.